home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Professional Soft Collection 1.02
/
Professional Soft Collection 1.02.iso
/
communic
/
bitfax.300
/
disk1
/
ansi.em_
/
ansi.bin
Wrap
Text File
|
1994-04-19
|
3KB
|
125 lines
INITIAL
{ ANSI TERMINAL SUPPORT, SUPPORTS MOST BBS WITH GRAPHICS }
z#origin(1)
z#setbuf(1,0);z#setbuf(3,0)
z#awrap(0)
z#setatt(23)
setcolor(23)
clear
z#setmar(1,@mrow)
z#setins(0)
@MAXROW=25
@uparr = '"$1b[A"'
@dnarr = '"$1b[B"'
@riarr = '"$1b[C"'
@lfarr = '"$1b[D"'
END
INBUFFER
0x00 NUL
0x08 BS2
0x0b LF
0x0c LF
0x1a CAN
0x7f NUL
END
INBUFFER2
END
OUTBUFFER
END
HOSTCODE
[20h z#lfnl(1)
[?4h z#setins(1)
[?5h z#setatt(112)
[?6h z#origin(2);poscur(1,1)
[?7h z#awrap(0)
[?8h
[?9h
[1h
[3h
[4h z#setins(1)
[5h z#setatt(112)
[6h z#origin(2);poscur(1,1)
[7h z#awrap(0)
[8h
[9h
[20l z#lfnl(2)
[?4l z#setins(0)
[?5l z#setatt(7)
[?6l z#origin(1);poscur(1,1)
[?7l z#awrap(1)
[?8l
[?9l
[1l
[3l
[4l z#setins(0)
[5l z#setatt(7)
[6l z#origin(1);poscur(1,1)
[7l z#awrap(1)
[8l
[9l
[m z#setatt(7)
[0m z#setatt(7)
[1m z#setatt(14)
[4m z#setatt(1)
[5m z#setatt(128)
[7m z#setatt(112)
[0;4m z#setatt(1)
[0;1m z#setatt(14)
[0;5m z#setatt(128)
[0;7m z#setatt(112)
[\t;\br z#setmar(\\t,\\b);poscur(1,1)
[;r z#setmar(1,@mrow);poscur(1,1)
[r z#setmar(1,@mrow);poscur(1,1)
[;\br z#setmar(1,\\b);poscur(1,1)
[\nA z#curup(\\n,0)
[A z#curup(1,0)
[\nB z#curdn(\\n,0)
[B z#curdn(1,0)
[\nC z#curfwd(\\n)
[C z#curfwd(1)
[\nD z#curbak(\\n)
[D z#curbak(1)
[;\nH poscur(\\n,1)
[\nH poscur(1,\\n)
[\n;H poscur(1,\\n)
[H poscur(1,1)
[;H poscur(1,1)
[\r;\cH poscur(\\c,\\r)
[;\nf poscur(\\n,1)
[\nf poscur(1,\\n)
[\n;f poscur(1,\\n)
[f poscur(1,1)
[;f poscur(1,1)
[\r;\cf poscur(\\c,\\r)
H z#tabset
[s z#savpos
[u z#Respos
[g z#tabclr
[0g z#tabclr
[3g z#tabcla
[K z#clreol
[0K z#clreol
[1K z#clrbol
[2K z#clrlin
[J z#clreos
[0J z#clreos
[1J z#clrbos
[2J clear
[P z#del(1)
[0P z#del(1)
[\nP z#del(\n)
[L z#inslin(1)
[0L z#inslin(1)
[\nL z#inslin(\n)
[M z#dellin(1)
[0M z#dellin(1)
[\nM z#dellin(\n)
[5n "$1b[0n"
[6n "$1b[@row.;@col.R"
[c "$1b[?1;0c"
[0c "$1b[?1;0c"
Z "$1b[?1;0c"
c z#origin(1);z#setbuf(1,0);z#setbuf(3,0);z#awrap(0);z#setmar(1,@mrow);
#8
END